import {Component} from "@angular/core";
import {HeaderComponent} from "./header.component";
import {FooterComponent} from "./footer.component";
import {BodyComponent} from "./body.component";
/**
 * Created by robin on 2016/8/2 0002.
 */

@Component({selector:"my-app",
            template:`<my-header></my-header>
                        <my-body></my-body>
                        <my-footer></my-footer>`,
            directives:[HeaderComponent,BodyComponent,FooterComponent]})
export class  RootComponent{
}